package stylistcrm.core.services.order.enums;

public enum EnumAuditStatus {
	
	UNAUDITED("0","未审核"),
	AUDITED("1","已审核"), ;
	
	private String code;
	
	private String desc;
	
	private EnumAuditStatus(String code,String desc){
		this.code=code;
		this.desc=desc;
	}
	
	public String getCode(){
		return code;
	}
	
	public String getDesc(){
		return desc;
	}
	
	public static EnumAuditStatus getEnum(String code) {

        for (EnumAuditStatus enumValue : EnumAuditStatus.values()) {
            if (enumValue.getCode().equals(code))
                return enumValue;
        }

        return null;
    }
}
